package com.lu.statistics.entity.front.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@ApiModel(description = "用户信息")
public class AppUserResponse {
    @ApiModelProperty(value = "序号")
    public Integer id;
    @ApiModelProperty(value = "用户名")
    public String username;
    @ApiModelProperty(value = "用户昵称")
    public String nickname;
    @ApiModelProperty(value = "性别")
    public String sex;
    @ApiModelProperty(value = "生日")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date birthday;
    @ApiModelProperty(value = "邮箱")
    public String email;
    @ApiModelProperty(value = "手机号")
    public String telephone;
    @ApiModelProperty(value = "头像地址")
    public String avatarUrl;
    @ApiModelProperty(value = "录入时间")
    public Date createTime;
    @ApiModelProperty(value = "状态")
    public Integer status;
}
